const getters = {
  // 侧边栏
  sidebar: (state) => state.app.sidebar,
  // 设备信息
  device: (state) => state.app.device,
  // 简化token取值
  token: (state) => state.user.token,
  // 简化用户信息获取
  userInfo: (state) => state.user.userInfo
  // avatar: state => state.user.avatar,
  // name: state => state.user.name
}
export default getters
